<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MCP 助手</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    
    
    <main>
        <div class="chat-container">
            <div class="chat-messages" id="chat-messages">
                <div class="message bot">
                    <div class="message-content">
                        欢迎使用AI助手！您可以询问我关于商品、库存和订单的问题，也可以通过我购买商品。
                    </div>
                </div>
            </div>
            
            <div class="chat-input">
                <textarea id="user-input" placeholder="输入您的问题..."></textarea>
                <button id="send-button">发送</button>
            </div>
        </div>
        
        <div class="tools-panel">
            <h2>MCP可用工具</h2>
            <div class="tools-list" id="tools-list">
                <div class="loading">加载中...</div>
            </div>
        </div>
    </main>
     
    
    <script src="script.js"></script>
</body>
</html> 